Skip to content

fix(deps): bump protobufjs to 7.6.6 in the Defender plugins - #56

Open
s2d2-agent[bot] wants to merge 2 commits into
mainfrom
security-autopilot/ak-26613808-agent-plugins-protobufjs-7.6.6
Open

s2d2-agent[bot] wants to merge 2 commits into
mainfrom
security-autopilot/ak-26613808-agent-plugins-protobufjs-7.6.6

Conversation

@s2d2-agent

@s2d2-agent s2d2-agent Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Why

Aikido issue group 26613808 (protobufjs, critical) flags both Defender plugins: stackone-defender and stackone-defender-antigravity pin protobufjs 7.6.5 through npm overrides, and Aikido's fixed version is 7.6.6. protobufjs reaches the tree through @huggingface/transformers 3.8.1 > onnxruntime-web. The hook installs these dependencies on user machines with npm install --prefix <plugin root>, so the lockfile in this repo is what users run. Reachability is low: in Node, inference runs on onnxruntime-node and the Node bundle of onnxruntime-web does not load protobufjs, but the vulnerable package is still installed. Tracked as SEC-295.

The bundled Aikido group 35590112 (nanoid, high) needs no change: both trees already resolve nanoid 3.3.18, which is the patched 3.x release for every advisory in that group (GHSA-xwg4-73v4-xw9w fixed in 3.3.12, GHSA-28wg-ghj8-5hjv in 3.3.16, GHSA-2v37-7h3g-55p8 in 3.3.18). Aikido's suggested 5.1.16 is the fix on the 5.x line.

What changed

  • plugins/security/stackone-defender/package.json and package-lock.json: protobufjs override 7.6.5 to 7.6.6, lockfile regenerated (only the protobufjs entry changes).
  • plugins/security/stackone-defender-antigravity/package.json and package-lock.json: the same override bump.
  • plugins/security/stackone-defender-antigravity/plugin.json, package.json: version 2.5.1 to 2.5.2. This plugin is versioned outside release-please, so the bump is what lets existing installs refresh. The Claude Code plugin gets its version from the release-please PR this fix(deps) commit feeds.

Proof

Check Before (main 24cd09f) After (this branch)
node_modules/protobufjs in stackone-defender lockfile 7.6.5 7.6.6 (protobufjs-7.6.6.tgz, sha512-dYDWdjSl5RNb...)
node_modules/protobufjs in stackone-defender-antigravity lockfile 7.6.5 7.6.6
npm ls protobufjs one copy, 7.6.5 overridden one copy, 7.6.6 overridden
npm ls nanoid 3.3.18 overridden 3.3.18 overridden (unchanged)
npm ci && npm test, stackone-defender 24/25 24/25 (same test fails locally on both: benign/long-natural-language.txt, an ML score threshold; CI on main is green)
npm ci && npm test, stackone-defender-antigravity 12/12 12/12

protobufjs 7.6.5 to 7.6.6 diff: only src/decoder.js, src/reader.js and src/wrappers.js change (length bounds checks that throw RangeError on malformed input). The postinstall script is byte-identical to 7.6.5 and the dependency list is unchanged.

Existing installs pick the fix up: scripts/deps-fingerprint.mjs hashes overrides and the lockfile, so the hook reinstalls and replaces a stale daemon once the new plugin version lands.

Risk and rollback

Patch release of a transitive dependency that the Node runtime path does not load. Rollback is reverting this PR.

What we will watch after deploy

The plugins run on user machines, so there is no service log to watch. After merge: the release-please PR carries the Claude Code plugin bump; the Aikido rescan of this repo should drop agent-plugins from group 26613808.

Opened by Security Autopilot (s2d2) for Guillaume Lebedel from Aikido issue 26613808, under the automatic Aikido fix approval of 2026-11-01.

🤖 Generated with Claude Code


Summary by cubic

Bumps the protobufjs override from 7.6.5 to 7.6.6 in both Defender plugins to resolve Aikido issue group 26613808 (critical), and bumps stackone-defender-antigravity to 2.5.2 so existing installs refresh. protobufjs reaches the tree through @huggingface/transformers > onnxruntime-web, and this repo's lockfile is what users install.

Notes

  • Reachability is low: Node inference uses onnxruntime-node, which doesn't load protobufjs, but the vulnerable package is still installed.
  • The bundled nanoid group needs no change: both trees already resolve 3.3.18, the patched 3.x release for all advisories in the group.
  • The 7.6.6 diff only changes length-bounds checks that throw RangeError on malformed input; rollback is a revert of this PR.

Written for commit 3691ad9. Summary will update on new commits.

View guided diff Turn on auto-fix

Review gates and proof

Recorded by s2d2 on 3691ad9. Kind of change: code.

gate result
forge ran
security_scan ran
codex_security ran
security_review ran
code_review ran
eng_review not run
demo not run
local_stack ran

s2d2-s1 and others added 2 commits November 23, 2026 14:14
Aikido issue group 26613808: protobufjs 7.6.5 (via @huggingface/transformers > onnxruntime-web)
is affected by CVE-2026-41242, CVE-2026-44289, CVE-2026-44290, CVE-2026-44291 and CVE-2026-44293.
7.6.6 is the fixed release.

Co-authored-by: Guillaume Lebedel <guillaume@stackone.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>
…s 7.6.6

The Antigravity plugin is versioned on its own (not in the release-please
lockstep), so bump it so existing installs pick up the dependency fix.

Co-authored-by: Guillaume Lebedel <guillaume@stackone.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Guillaume Lebedel <10488548+glebedel@users.noreply.github.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Bumps protobufjs override/lockfile from 7.6.5 to 7.6.6 in both Defender plugins and bumps the antigravity plugin version to 2.5.2; a bounded security patch update with no API, config, or behavior changes.

View guided diff | Turn on auto-fix | Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants